package com.neuedu.entity;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class Goods {
  private Integer gid;
  private String gnum;
  private String gname;
  private BigDecimal gprice;
  private Integer gstock;
  private Integer gsell;
  private String gmainimg;
  private Integer gflag;
  private Timestamp createtime;
  private Timestamp updatetime;
  private Integer tid;
public Integer getGid() {
	return gid;
}
public void setGid(Integer gid) {
	this.gid = gid;
}
public String getGnum() {
	return gnum;
}
public void setGnum(String gnum) {
	this.gnum = gnum;
}
public String getGname() {
	return gname;
}
public void setGname(String gname) {
	this.gname = gname;
}
public BigDecimal getGprice() {
	return gprice;
}
public void setGprice(BigDecimal gprice) {
	this.gprice = gprice;
}
public Integer getGstock() {
	return gstock;
}
public void setGstock(Integer gstock) {
	this.gstock = gstock;
}
public Integer getGsell() {
	return gsell;
}
public void setGsell(Integer gsell) {
	this.gsell = gsell;
}
public String getGmainimg() {
	return gmainimg;
}
public void setGmainimg(String gmainimg) {
	this.gmainimg = gmainimg;
}
public Integer getGflag() {
	return gflag;
}
public void setGflag(Integer gflag) {
	this.gflag = gflag;
}
public Timestamp getCreatetime() {
	return createtime;
}
public void setCreatetime(Timestamp createtime) {
	this.createtime = createtime;
}
public Timestamp getUpdatetime() {
	return updatetime;
}
public void setUpdatetime(Timestamp updatetime) {
	this.updatetime = updatetime;
}
public Integer getTid() {
	return tid;
}
public void setTid(Integer tid) {
	this.tid = tid;
}
@Override
public String toString() {
	return "Goods [gid=" + gid + ", gnum=" + gnum + ", gname=" + gname + ", gprice=" + gprice + ", gstock=" + gstock
			+ ", gsell=" + gsell + ", gmainimg=" + gmainimg + ", gflag=" + gflag + ", createtime=" + createtime
			+ ", updatetime=" + updatetime + ", tid=" + tid + "]";
}


  
  
  
  
  
}
